package com.emergency.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * (AddressBook)实体类
 * 通讯录
 * @author makejava
 * @since 2020-09-17 17:19:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AddressBook extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 340925534573604550L;
    /**
     * 通讯录ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 联系电话
     */
    private String phone;
    /**
     * 部门ID
     */
    private Long deptId;
    /**
     * 街道ID
     */
    private Long streetId;
    /**
     * 村社区ID
     */
    private Long villageId;

}